package com.cnpinxi.dao;

import com.cnpinxi.domain.Resource;

import java.util.List;
import java.util.Map;

public interface ResourceMapper {

    int deleteByPrimaryKey(Long tid);

    int insertResource(Resource record);



    Resource selectByPrimaryKey(Long tid);
    List<Resource> getResourceList(Map<String, String> map);
    Resource getResource(Map<String, String> map);


    int updateResourceByPrimaryKeySelective(Resource record);

    int updateResourceById(Resource record);
}